<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: PCA_OC_InitTypeDef结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">成员变量</a>  </div>
  <div class="headertitle">
<div class="title">PCA_OC_InitTypeDef结构体 参考<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo; <a class="el" href="group___p_c_a.html">PCA</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>PCA Output Compare Configuration Structure definition  
 <a href="struct_p_c_a___o_c___init_type_def.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="wb32l003__pca_8h_source.html">wb32l003_pca.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
成员变量</h2></td></tr>
<tr class="memitem:a20c1c7a469b1571abdda3fcadee24d1b"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_c_a___o_c___init_type_def.html#a20c1c7a469b1571abdda3fcadee24d1b">CompareEnable</a></td></tr>
<tr class="separator:a20c1c7a469b1571abdda3fcadee24d1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5474a76dcb5f8c84c2d0501a41079ea8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_c_a___o_c___init_type_def.html#a5474a76dcb5f8c84c2d0501a41079ea8">TogEnable</a></td></tr>
<tr class="separator:a5474a76dcb5f8c84c2d0501a41079ea8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02e29a360b7d956c1ae3c89269460f5a"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_c_a___o_c___init_type_def.html#a02e29a360b7d956c1ae3c89269460f5a">PwmEnable</a></td></tr>
<tr class="separator:a02e29a360b7d956c1ae3c89269460f5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49500eef6a2354eeee4adc005bf9cef6"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_c_a___o_c___init_type_def.html#a49500eef6a2354eeee4adc005bf9cef6">Period</a></td></tr>
<tr class="separator:a49500eef6a2354eeee4adc005bf9cef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae82bf9242a014164f9f6907f29782c44"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_c_a___o_c___init_type_def.html#ae82bf9242a014164f9f6907f29782c44">Channel</a></td></tr>
<tr class="separator:ae82bf9242a014164f9f6907f29782c44"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>PCA Output Compare Configuration Structure definition </p>
</div><h2 class="groupheader">结构体成员变量说明</h2>
<a id="ae82bf9242a014164f9f6907f29782c44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae82bf9242a014164f9f6907f29782c44">&#9670;&nbsp;</a></span>Channel</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Channel</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies the PCA output channel. This parameter can be a value of <a class="el" href="group___p_c_a___channel.html">PCA_Channel</a>. </p>

</div>
</div>
<a id="a20c1c7a469b1571abdda3fcadee24d1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20c1c7a469b1571abdda3fcadee24d1b">&#9670;&nbsp;</a></span>CompareEnable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t CompareEnable</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies the output compare function enable or disable. This parameter can be a value of <a class="el" href="group___p_c_a___output___compare___enable.html">PCA_Output_Compare_Enable</a> </p>

</div>
</div>
<a id="a49500eef6a2354eeee4adc005bf9cef6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49500eef6a2354eeee4adc005bf9cef6">&#9670;&nbsp;</a></span>Period</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Period</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies the period value compared with CNT register. Period caculation = Period/(PCA clock) This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF. </p>

</div>
</div>
<a id="a02e29a360b7d956c1ae3c89269460f5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02e29a360b7d956c1ae3c89269460f5a">&#9670;&nbsp;</a></span>PwmEnable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t PwmEnable</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies tog function enable or disable. TogEnable &amp; PwmEnable must not be enabled at the same time. This parameter can be a value of <a class="el" href="group___p_c_a___pwm___enable.html">PCA_Pwm_Enable</a> </p>

</div>
</div>
<a id="a5474a76dcb5f8c84c2d0501a41079ea8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5474a76dcb5f8c84c2d0501a41079ea8">&#9670;&nbsp;</a></span>TogEnable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t TogEnable</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies tog function enable or disable. TogEnable &amp; PwmEnable must not be enabled at the same time. This parameter can be a value of <a class="el" href="group___p_c_a___toggle___enable.html">PCA_Toggle_Enable</a> </p>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li><a class="el" href="wb32l003__pca_8h_source.html">wb32l003_pca.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
